﻿using RuTracker.Interface;

namespace RuTracker.MVC.Models.Tracker
{
    public class TrackerModel
    {
        public string User { get; set; }
        public string Html { get; set; }
        public string SearchQuery { get; set; }
        public bool IsTorrentAvailable { get; set; }
        public string Url { get; set; }
        public UserTorrent UserTorrent { get; set; }

        public bool IsTorrentDownloaded
        {
            get { return UserTorrent != null; }
        }
        
    }
}